* The code below replicates the regression results presented in Tables 2.4 and 2.5 in Boris Heersink and Jeffery A. Jenkins, Republican Party Politics
* and the American South, 1865-1968 (Cambridge University Press, 2020) (as well as Tables 4 and 5 of the article "Whiteness and the Emergence of
* the Republican Party in the Early Twentieth-Century South," Boris Heersink and Jeffery A. Jenkins, Studies in American Political Development (2020))

use RPPAS_Regression_Data.dta

*Table 2.4 / Table 4
reg rpres c.lag4perctwhitewu##i.discrim i.state i.year
reg rcong c.lag4perctwhitewu##i.discrim i.state i.year
reg birgov c.lag4perctwhitewu##i.discrim i.state i.year
reg rcompa c.lag4perctwhitewu##i.discrim i.state i.year

*Table 2.5 / Table 5
reg rpres c.lag4perctwhitewu##i.discrim i.state i.year if DeepSouth==0
reg rpres c.lag4perctwhitewu##i.discrim i.state i.year if DeepSouth==1
